package com.xu.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户和部门关联表
 * </p>
 *
 * @author 许乾伟
 * @since 2024-12-03 03:53:31
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_user_dept")
public class SysUserDept {

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 部门ID
     */
    @TableField("dept_id")
    private Long deptId;

    public static final String USER_ID = "user_id";

    public static final String DEPT_ID = "dept_id";
}
